#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>
int main()
{
	/*int a = 10;
	int b = 20;
	a = a ^ b;
	b = a ^ b;
	a = a ^ b;
	printf("a=%d  b=%d", a, b);*/

	int arr[] = { 1,2,3,4,5,1,2,3,4 };
	int i = 0;
	int j = 0;
	int sz = sizeof(arr) / sizeof(arr[0]);
	for (i = 0; i < sz; i++)
	{
		int flag = 1;
		for (j = 0; j < sz; j++)
		{
			if (i == j)
				continue;
			if (arr[i] == arr[j])
				flag++;
		}
		if (flag == 1)
			printf("%d ", arr[i]);
	}
	return 0;
}